/***************************************************************************
 *            menu.h
 *
 *  Qui maio 23 19:46:33 2013
 *  Copyright  2013  Alcione Ferreira
 *  <user@host>
 ****************************************************************************/
#include <bd.h>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <gtkmm.h>

using namespace std;

#ifndef __MENU_H__
#define __MENU_H__ 1

class MENU
	{
	public:
		MENU(Glib::RefPtr<Gtk::Builder>);
		~MENU();
		Gtk::Window *Soma;

	protected:
		Gtk::Entry *Primeiro, *Segundo;
		Gtk::Label *Resultado;
		Gtk::Button *Somar;
	private:
		BD *banco/**<*/;
	
		Glib::RefPtr<Gtk::Builder> carregado;
		void somar();
		void salvar();
	};

#endif /*__MENU_H__*/